Dear all,
This is a (re-)request for help from anybody who could explain the problems
I am experiencing compiling DBD::Pg under 5.3.
Can anyone help me compile DBD::Pg 0.89 under IRIX 5.3 (I am using that
version of DBD::Pg because it is the latest compatible with my version of
postgreSQL (6.4)).
I get:
cc -c -I/usr/local/pgsql/include -I/usr/local/include/pgsql
-I/usr/include/pgsql -I/usr/local/lib/perl5/site_perl/IP22-irix/auto/DBI
-I/usr/local/lib/perl5/IP22-irix/5.00404/DBI -I/auto/DBI -I/DBI
-D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 30
cfe: Warning 608: ./Pg.h: 24: Undefined the ANSI standard library defined
macro BUFSIZ (4.1.2.1(9))
cfe: Error: dbdimp.c, line 826: Incompatible pointer type assignment
(3.3.16.1, 3.5.4.1(21)) val = (((phs->sv)->sv_flags & 0x00040000 ) ? (( len =
((XPV*) (phs->sv)->sv_any )->xpv_cur ), ((XPV*) (phs->sv)->sv_any
)->xpv_pv ) : Perl_sv_2pv (phs->sv, & len))
;-------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-----------------^
cfe: Error: dbdimp.c, line 826: Type int * of this argument is
incompatible with type STRLEN * of function prototype description
(3.3.16.1) val = (((phs->sv)->sv_flags & 0x00040000 ) ? (( len =
((XPV*) (phs->sv)->sv_any )->xpv_cur ), ((XPV*) (phs->sv)->sv_any
)->xpv_pv ) : Perl_sv_2pv (phs->sv, & len))
;-------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-----------------^
*** Error code 1 (bu21)
FULL DETAILS are in a previous post entitled "Problems compiling DBD::Pg
under IRIX 5.3" that I'd be happy to forward to you if you need it.
I'd be grateful for any help.
With best regards,
Stuart.
+--------------------------+--------------------------------------+
| Stuart C. G. Rison | Ludwig Institute for Cancer Research |
+--------------------------+ 91 Riding House Street |
| N.B. new phone code!! | London, W1P 8BT |
| Tel. +44 (0)207 878 4041 | UNITED KINGDOM |
| Fax. +44 (0)207 878 4040 | stuart@ludwig.ucl.ac.uk |
+--------------------------+--------------------------------------+